Skip to main content
Version: 4.0

Connecting Video Source

Add video sources, and then you can add algorithms to analyze them in real time.

  1. Log in to X-Edge, and then click Designer at the lower-left corner to access the design center.
  2. Select Source Manager > Video Source on the left panel, and then click Add.
  3. Enter the basic information of the video source you want to add, and then click Submit.
ParameterDescription
RTSP stream addressThe RTSP address of your video stream.
Stream modeOptions are Default, Hikvision SDK and Dahua SDK.
info

When selecting Hikvision SDK and Dahua SDK, you need to enter the corresponding information such as device IP and port, and the account to log in to.

  1. Click of the video source you added, and set the algorithm to analyze it.
    1. Select an algorithm on the left side.
      info

      For details on uploading algorithms, see Configuring Algorithm.

    2. Set related information.
      ItemDescription
      Algorithm execution cycleThe time interval the algorithm analyzes the video source. Ranges from 0.04-10 seconds and the default is 1.
      Face matchingEnable it to allow the algorithm to recognize and match faces come into the detection area with the preset face library.
      info

      You can add faces under Face ID in the design center.

      JSON EditorEable it to define the input settings of the algorithm through JSON (suitable for belt deviation algorithm). For example:
      {"model": {
      "config": "im540_mobilenetv2_test_config",
      "weight": "im540_mobilenetv2_1076_1077_map155.12.pth"
      },
      "source": [
      {
      "sourceUrl": "belt.mp4",
      "anomalyDeadtime": 3600,
      "attributeDeadtime": 60,
      "sourceFps": 1,
      "uuid": "uuide181b8d8-b165-4b67-8508-aeb90d980a71",
      "tolerance": 50

      }
      ]
      }
      Detection areaClick to draw the detection area of the algorithm on the video image, and right-click to finish.
      info

      The algorithm analyzes the whole image when no detection area is set.

      Output file typeThe file type output when an alarm is triggered. Presently, only Video is available.
    3. Click Submit.